package com.systop.ltbook.sms;

import java.util.ResourceBundle;

import com.systop.core.util.ResourceBundleUtil;

/**
 * 短信常量类
 * @author DU
 */
public class SmsConstants {

	/**
	 * 私有构造器
	 */
	private SmsConstants(){
	}
	
	/** 资源文件 */
  private static final String BUNDLE_KEY = "application";

  /** 资源绑定对象 */
  private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_KEY);
  
  /** 计费代码 */
  public static final String BILL_CODE = ResourceBundleUtil.getString(RESOURCE_BUNDLE,
      "sms_bill_code", "sms6008");
  /** 序列号 */
  public static final long SERIAL_NU = ResourceBundleUtil.getInt(RESOURCE_BUNDLE, 
  		"sms_serial_nu", 1000002340);
  /** 密码 */
  public static final String SERIAL_PW = ResourceBundleUtil.getString(RESOURCE_BUNDLE, 
  		"sms_serial_pw", "981354");
  /** 发送时间 为空表示即时发送 */
  public static final String SEND_TIME = ResourceBundleUtil.getString(RESOURCE_BUNDLE, 
  		"sms_send_time", "");
  /** 短信发送功能中一次从数据库中提取要发送短信的记录数 */
  public static final int SMS_SEND_COUNT = ResourceBundleUtil.getInt(RESOURCE_BUNDLE, 
  		"sms.send.sendCount", 20);
  
  /** 客服人员每月额定短信发送量 */
  public static final int SMS_SEND_SIZE_STAFF = ResourceBundleUtil.getInt(RESOURCE_BUNDLE, 
  		"sms.send.sendSizeStaff", 200);
  /** 代理商每月额定短信发送量 */
  public static final int SMS_SEND_SIZE_AGENT = ResourceBundleUtil.getInt(RESOURCE_BUNDLE, 
  		"sms.send.sendSizeAgent", 100);
  
  
  /** 新短信 */
  public static final String SMS_SEND_IS_NEW = "1";
  /** 不是新短信 */
  public static final String SMS_SEND_IS_NOT_NEW = "0";
}
